﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Runtime.InteropServices;
using System.IO;
using System.Xml.Linq;
using System.Diagnostics;


namespace NETCommon.Files
{
    public partial class NConfigDefine
    {
        public const string g_configfile = "Config\\NetConfig.ini";

        public const string g_tis_section = "SERVER";
        public const string g_system_section = "SYSTEM";
        public const string g_omsset_section = "OMSSET";
        public const string g_admin_section = "ADMIN";
        public const string g_omsset_logging = "LOGGING";


        public const string g_hostcount_key = "HOSTCOUNT";
        public const string g_hostname_key = "HOSTNAME";
        public const string g_hostaddr_key = "HOSTADDR";
        public const string g_db_key = "DBNAME";
        public const string g_dbuser_key = "DBUSER";
        public const string g_dbpw_key = "DBPWD";
        public const string g_svrname_key = "NAME";


        public const string g_type_key = "TYPE";

        public const string g_server = "localhost";
        public const string g_user = "tisuser";
        public const string g_pw = "123456";
        public const string g_db = "tis";

        public const int _MINMGN_LIST_MAX_COUNT = 8;
        public const string g_prgname_oms = "Operation Margin Monitor View";

        //For DataType
        public static string SIGTYPE_DIGITAL = "DI";
        public static string SIGTYPE_ANALOG = "AI";
        public static string SIGTYPE_CALCULATION = "CA";

        //For number format
        public static int DECIMAL_ROUND_LEVEL = 3;

    }
}